package cn.yangliu.config.init.model;

import cn.yangliu.config.init.DictionaryInitHandler;
import cn.yangliu.init.annotations.InitJob;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * the type of com-tool
 *
 * <p>
 * .
 *
 * @author 杨柳
 * @date 2021-09-27
 */
@Data
@InitJob(sheet = "t_dictionary", handler = DictionaryInitHandler.class)
public class Dictionary {

    /**
     * id
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 值
     */
    private String val;

    /**
     * ui显示值
     */
    private String display;

    /**
     * 分组名
     */
    @ExcelProperty("group_name")
    private String groupName;

}
